﻿using DevExpress.Xpf.Grid;
using QBData;
using QBData.Dao;
using QBData.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace QBAnalysis
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        OriginalBillDao billDao = new OriginalBillDao();
        public MainWindow()
        {

            InitializeComponent();

            //简单调用
            var a = billDao.GetOriginalBilleList();
           // dg_phone.ItemsSource = a;
        }

        private void Btn_ImportData_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
        {
            ImportData topologicalGraph = new ImportData();
            Gc_main.Children.Add(topologicalGraph);
        }
    }
}
